<template>
  <div class="header">
    <span>系统首页</span>
  </div>
   <div class="line"></div>
  <div class="content">
    <h1>欢迎使用管理后台</h1>
    <p>请点击左侧菜单进行相关操作</p>
  </div>
  <Mycomponents />
</template>

<script setup>
import Mycomponents from "../../component/index.vue";

</script>

<style lang="less" scoped>
.header {
  width: 100%;
  height: 40px;
  padding: 5px;
  color: rgb(255, 153, 0);
  line-height: 30px;

  span {
    display: inline-block;
    width: 100px;
    height: 26px;
    border-left: 6px solid rgb(255, 153, 0);
    padding: 5px;
  }
}

.content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  h1 {
    font-size: 50px;
    color: rgb(255, 153, 0);
  }

  p {
    font-size: 18px;
    color: rgb(255, 153, 0);
    margin-left: 90px;
    margin-top: -20px;
  }
}

.line {
  height: 10px;
  width: 100%;
  background-color: #f9f9f9;
}
</style>
